package com.CST.vo.ys;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author cw
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class YsBusinessTargetRecordVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("编号")
    private Long num;

    @ApiModelProperty("预算科目id")
    private Integer subjectId;

    @ApiModelProperty("预算科目编码")
    private String subjectCode;

    @ApiModelProperty("预算科目名称")
    private String subjectName;

    @ApiModelProperty("部门id")
    private String deptCode;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("预算率")
    private BigDecimal budgetRate;

    @ApiModelProperty("三香执行率")
    private BigDecimal sxImplementationRate;

    @ApiModelProperty("浒关执行率")
    private BigDecimal xgImplementationRate;

    @ApiModelProperty("全院执行率")
    private BigDecimal qyImplementationRate;

    @ApiModelProperty("时间")
    private Integer period;

    @ApiModelProperty("操作内容")
    private String operContent;

    @ApiModelProperty("操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operTime;

    @ApiModelProperty("操作人")
    private String operBy;

    @ApiModelProperty("撤销flag")
    private Integer revokeFlag;

    @ApiModelProperty("合计")
    private BigDecimal total;

    @ApiModelProperty("执行率/偏差率")
    private BigDecimal deviationRate;

}
